import Login from '@/views/Login.vue'
import Register from '../views/Register.vue'
import { createRouter, createWebHistory } from 'vue-router'

const routes = [
    {
        path: '/register',
        component: Register
    },
    {
        path: '/login',
        component: Login
    }
]

const router = createRouter({
    routes,
    history: createWebHistory()
})

export default router